{% extends 'base.html' %}
{% block body %}
    <h1>{{title}}</h1>
    <ul>
        {% for instance in instances %}
        <li id="instance.key"><a href="/{{root}}/{{instance.key}}/">{{instance}}</a> <a href="/{{root}}/edit/{{instance.key}}/">edit</a><form method="POST" action="/{{root}}/delete/{{instance.key}}/">
            <input type="submit" value="delete">
        </form></li>
        {% endfor %}
    </ul>
    <a href="/{{root}}/create/">add new</a>
{% endblock body %}